package org.dromara.system.pojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.dromara.common.web.core.domain.BaseVO;

import java.io.Serial;

/**
 * 对象存储配置表 VO。
 *
 * @author mkj
 * @since 2024-07-20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "对象存储配置表")
public class SysOssConfigVO extends BaseVO {

    @Serial
    private static final long serialVersionUID = 1L;


    @Schema(description = "主建")
    private Long id;

    @Schema(description = "服务商")
    private String ossService;

    @Schema(description = "accessKey")
    private String accessKey;

    @Schema(description = "秘钥")
    private String secretKey;

    @Schema(description = "桶名称")
    private String bucketName;

    @Schema(description = "前缀")
    private String prefix;

    @Schema(description = "访问站点")
    private String endpoint;

    @Schema(description = "是否默认（Y是 N否）")
    private String isDefault;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "状态（1正常 0停用）")
    private Integer status;
}
